#ifndef XLCOMM_NET_TIMERID_H_
#define XLCOMM_NET_TIMERID_H_

namespace xlcomm {
namespace net {

class Timer;

// 定时器ID
struct XLCOMM_API TimerId {
  TimerId(Timer* t, int64_t seq) : timer(t), sequence(seq) {}

  Timer* timer;
  int64_t sequence;
};

}  // namespace net
}  // namespace xlcomm

#endif  // XLCOMM_NET_TIMERID_H_